package com.tianji.learning.service;

import com.tianji.common.domain.dto.PageDTO;
import com.tianji.learning.domain.dto.QuestionFormDTO;
import com.tianji.learning.domain.po.InteractionQuestion;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.learning.domain.query.QuestionAdminPageQuery;
import com.tianji.learning.domain.query.QuestionPageQuery;
import com.tianji.learning.domain.vo.QuestionAdminVO;
import com.tianji.learning.domain.vo.QuestionVO;

/**
 * <p>
 * 互动提问的问题表 服务类
 * </p>
 *
 * @author EllieHy
 * @since 2024-06-01
 */
public interface IInteractionQuestionService extends IService<InteractionQuestion> {
	
	void saveQuestion(QuestionFormDTO questionFormDTO);
	
	void updateQuestion(Long id, QuestionFormDTO questionFormDTO);
	
	PageDTO<QuestionVO> queryQuestionPage(QuestionPageQuery query);
	
	QuestionVO queryQuestionById(Long id);
	
	PageDTO<QuestionAdminVO> queryQuestionAdminVoPage(QuestionAdminPageQuery query);
	
	QuestionAdminVO queryQuestionByIdAdmin(Long id);
	
	void hiddenQuestion(Long id, Boolean hidden);
	
	void deleteById(Long id);
}
